<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>确认送达</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <link rel="stylesheet" type="text/css" href="css/editStyle.css" />
    <link rel="stylesheet" type="text/css" href="../script/vant/index.css" />
    <style type="text/css">
        .aui-list .aui-list-item-label-icon {
            padding-right: 0;
        }

        .aui-list .aui-list-item-input label {
            margin-right: 10px;
        }

        .aui-btn-primary {
            background: #01B2F5;
            width: 95%;
            left: 2.5%;
            bottom: 0.5rem;
            border-radius: 5px;
        }

        .inline_placeholder::placeholder {
            text-align: right;
        }

        .imglist_box {
            overflow: hidden;
            margin-left: 5%;
        }
        .imglist_item{
            padding-top: 5px;
        }
        .moreproject {
            width: 93%;
            float: left;
            line-height: 1rem;
            padding-top: 4px;
            /* margin-right: 10px; */
            text-align: right;
        }
        .aui_formcontent {
            text-align:right;
        }
        .mask_bg{
            position: fixed;
            z-index: 9999;
            background: rgba(0, 0, 0, 0.1);
            top: 0px;
            bottom: 0;
            left: 0;
            right: 0;
        }
        .blur{
            filter: blur(2px);
            -webkit-filter: blur(2px);
            
        }
        .choose_box{
            position: fixed;
            z-index: 10000;
            background: #fff;
            top: 15%;
            bottom: 30%;
            left: 10%;
            right: 10%;
            border-radius: 10px;
            box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.2);
        }
        .choose_box .close_btn{
            position: absolute;
            top: 10px;
            right: 20px;
            z-index: 10002;
        }
        .choose_box .close_btn .iconfont{
            font-size: 1rem;
            color: #888;
        }
        .choose_room_title{
            position: relative;
            text-align: center;
            line-height: 2.5rem;
            margin-top: 0.5rem;
            font-size: 0.9rem;
            border-bottom: solid 0.5px #f5f5f5;
        }

        .choose_room_content{
            margin: 28px 8px 20px 8px;
            position: absolute;
            top: 3rem;
            bottom: 20px;
            left: 10px;
            right: 10px;
            overflow: scroll;
            z-index: 10001;
            /* background: #ff0; */
        }
        .choose_room_item{
            /* background: #f00; */
            position:relative;
            padding-left: 15px;
            padding-right: 15px;
            margin-bottom: 0.25rem;
        }
        .choose_room_item label{
            line-height: 2.2rem;
            color: #333;
        }
        .choose_room_item i{
            float: right;
            line-height: 2.2rem;
            color: #289fff;
            font-size: 1rem;
        }
        .aui-radio, .aui-checkbox{
            width: 0.8rem;
            height: 0.8rem;
            float: right;
            top:8px;
        }
        .selected{
            background-color: #f8f8f8;
            border-radius: 5px;
        }
        .aui_formitem.pointMsg{
            padding: 3px 10px;
            font-size: 0.7rem; 
            display: block; 
            text-align: center;
            color: #999;
            background: #f5f5f5;
            border-radius: 4px;
        }
        .van-calendar__selected-day{
            width: 32px;
            height: 32px;
            background-color: #289fff;
            border-radius: 50%;
        }
        .text-shuoming{
            font-size: 12px;
            margin-left: 5%;
            margin-top: -15px;
        }
        .aui_formcontent textarea{
            border: solid 1px #f0f0f0;
            padding: 10px !important;
            border-radius: 4px;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="mask_bg" v-on:click="doCloseRoom()" v-if="IsRoomOpen"></div>
        <div class="choose_box" v-if="IsRoomOpen">
            <div class="choose_room_title">选择配送点</div>
            <div class="choose_room_content">
                <div v-on:click="doSelectRoom(item)"  class="choose_room_item"  v-for="item in outTypemsg" v-bind:class="{'selected':form.PointID==item.ID}" >
                    <label>{{item.SendPoint}}</label><i v-if="form.PointID==item.ID" class="icon iconfont icon-xuanze"></i>
                </div>
            </div>
        </div>
        <div v-bind:class="{'blur':IsRoomOpen}" style="margin-top: 0px;">
        <div class=" boxarea edit">
            <div class="">
                <div class="aui_formitem">
                    <div class="aui_formtitle ">收货配送点<img class="col-star" src="../image/redstar.png"></div>
                    <div class="aui_formcontent" v-on:click="do_choose_type()">
                        <input class="choose" readonly="readonly" type="text" placeholder="请选择" v-model="form.PointName">
                        <i class="icon iconfont icon-xiangyoujiantou"></i>
                    </div>
                </div>
                <div class="aui_formitem block" style="border-bottom: none;">
                    <div class="aui_formtitle aui-margin-b-5" style="width: 100%;justify-content: space-between;">
                        <div>送达信息</div>
                        <div class="text-grey fr">({{form.ServiceContent.length}}/50)</div>
                    </div>
                    <div class="aui_formcontent" style="padding-left: 0px;">
                        <textarea placeholder="请输入送达信息" maxlength="50" v-model="form.ServiceContent" style="height: 6rem;"></textarea>
                    </div>
                </div>
                <div class="aui_formitem block" style="border-bottom: none;padding-bottom: 0;">
                    <div class="aui_formtitle">送达图片<img class="col-star" src="../image/redstar.png"></div>
                    <div class="aui_formcontent" style="padding-left: 0px;">
                    </div>
                </div>
            </div>
            <div class="imglist_box aui-margin-t-5" style="padding-top: 8px;">
                <div class="imglist_item" v-for="(item,index) in imglist">
                    <img v-on:click="do_viewimages(index)" class="imgitem ml4" v-bind:src="item.url" />
                    <img v-on:click="remove_img(item.index)" class="onmouse_close" src="../image/close_mouseover.svg" />
                </div>
                <div v-if="imglist.length<4" class="imglist_item">
                    <div class="img_plusbox aui-margin-b-5">
                        <img v-on:click="choose_picture()" src="../image/photo_image.svg" />
                    </div>
                    最多上传{{maxuploadcount}}张
                </div>   
            </div>
            <div class="text-shuoming text-grey" >说明：需要上传至少一张图片</div>
        </div>
       
        <div class="bottom">
            <div class="aui_bottombtn" v-on:click="do_save()">保存</div>
        </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-actionsheet.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript " src="../script/vant/vue.js"></script>
<script type="text/javascript " src="../script/vant/vant.js"></script>
<script type="text/javascript " src="js/dl_order_sendok.js"></script>

</html>
